Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix usage of local_protect() #279

Merged
merged 1 commit into from
Jul 20, 2024

Conversation

t-kalinowski
Copy link
Contributor

closes #278

@yutannihilation
Copy link
Owner

Thanks so much! It seems I forgot this basic rule of Rust for some reason... Like this one, I tend to make very basic mistakes, so this kind of contribution is really appreciated!

@yutannihilation yutannihilation merged commit 6e13aaa into yutannihilation:main Jul 20, 2024
15 checks passed
@t-kalinowski
Copy link
Contributor Author

I only noticed it because I was recently bit by the same misconception about when Drop is invoked! It's not at all obvious after reading the Rust book.

What you've built here, savvy, is very impressive!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Protect guard needs to be bound with let
2 participants